QT      += core gui network sql qml quick concurrent  widgets  xml
greaterThan(QT_MAJOR_VERSION,5):QT += core5compat
CONFIG  += c++2a plugin

DESTDIR = ../../../../dist/plugins
TARGET  = richnotify_core
TEMPLATE = lib
DEFINES +=
INCLUDEPATH += ../../../interfaces                                              \
               ../../../util/frame_util_core                                    \
               ../../../util/frame_util_models                                  \
               ../../../util/frame_util_sys                                     \
               ../../../util/frame_util_sll                                     \
               ../../../util/frame_util_xpc                                     \
               ../../../xsd                                     \



LIBS += -L../../../../dist              \
        -lframe_util_core               \
        -lframe_util_models             \
        -lframe_util_sys                \
        -lframe_util_sll                \
        -lframe_util_xpc                \
        -lxsd                           \

FORMS += \
    src/addfrommisseddialog.ui \
    src/boolmatcherconfigwidget.ui \
    src/intmatcherconfigwidget.ui \
    src/matchconfigdialog.ui \
    src/notificationruleswidget.ui \
    src/stringlikematcherconfigwidget.ui

DISTFILES += \
    src/CMakeLists.txt \
    src/leechcraft_RichNotifications_en.ts \
    src/leechcraft_RichNotifications_es.ts \
    src/leechcraft_RichNotifications_ro.ts \
    src/leechcraft_RichNotifications_ru_RU.ts \
    src/leechcraft_RichNotifications_uk_UA.ts \
    src/richnotificationssettings.xml

HEADERS += \
    src/actionsmodel.h \
    src/actionsproxyobject.h \
    src/addfrommisseddialog.h \
    src/audiohandler.h \
    src/audiothememanager.h \
    src/cmdrunhandler.h \
    src/common.h \
    src/concretehandlerbase.h \
    src/enablesoundactionmanager.h \
    src/eventdata.h \
    src/eventproxyobject.h \
    src/fieldmatch.h \
    src/generalhandler.h \
    src/matchconfigdialog.h \
    src/notificationrule.h \
    src/notificationruleswidget.h \
    src/quarkproxy.h \
    src/richnotifications.h \
    src/rulesmanager.h \
    src/systemtrayhandler.h \
    src/typedmatchers.h \
    src/unhandlednotificationskeeper.h \
    src/visualhandler.h \
    src/visualnotificationsview.h \
    src/wmurgenthandler.h \
    src/xmlsettingsmanager.h

SOURCES += \
    src/actionsmodel.cpp \
    src/actionsproxyobject.cpp \
    src/addfrommisseddialog.cpp \
    src/audiohandler.cpp \
    src/audiothememanager.cpp \
    src/cmdrunhandler.cpp \
    src/concretehandlerbase.cpp \
    src/enablesoundactionmanager.cpp \
    src/eventproxyobject.cpp \
    src/fieldmatch.cpp \
    src/generalhandler.cpp \
    src/matchconfigdialog.cpp \
    src/notificationrule.cpp \
    src/notificationruleswidget.cpp \
    src/quarkproxy.cpp \
    src/richnotifications.cpp \
    src/rulesmanager.cpp \
    src/systemtrayhandler.cpp \
    src/typedmatchers.cpp \
    src/unhandlednotificationskeeper.cpp \
    src/visualhandler.cpp \
    src/visualnotificationsview.cpp \
    src/wmurgenthandler.cpp \
    src/xmlsettingsmanager.cpp
